package org.csu.jpetstoreagain.persistence;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.csu.jpetstoreagain.domain.Order;

import java.util.List;

@Mapper
public interface OrderMapper extends BaseMapper<Order> {
    List<Order> getOrdersByUserid(String userid);

    Order getOrder(int orderId);

//    void insertOrder(Order order);

    //空实现 很难写 下次再说
//    void insertOrderStatus(Order order);
}
